//OrderDao.java
package com.ylaihui.dao;

import com.ylaihui.pojo.Order;

import java.util.List;

/**
 * @author lisimmy www.ylaihui.com
 * @create 2021-08-03
 */
public interface OrderDao {
    public int saveOrder(Order order);
    public List<Order> queryOrders();
    public Order queryOrderByOrderId(String orderId);
    int changeOrderStatus(String orderId, Integer status);

    public List<Order> queryOrdersByUserId(Integer id);

}
